<?php /* Smarty version 2.6.26, created on 2018-07-25 14:31:07
         compiled from E:%5CWWW%5C40.125.208.171%5Cvweb/member%5Ctemplates/user/connect.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'import', 'E:\\WWW\\40.125.208.171\\vweb/member\\templates/user/connect.html', 1, false),array('function', 'uqcms', 'E:\\WWW\\40.125.208.171\\vweb/member\\templates/user/connect.html', 19, false),array('function', 'math', 'E:\\WWW\\40.125.208.171\\vweb/member\\templates/user/connect.html', 28, false),)), $this); ?>
<?php echo $this->_plugins['function']['import'][0][0]->import(array('file' => "index/header.html",'title' => "第三方连接"), $this);?>
 
<style type="text/css">
.connect_box{ width:100%; float:left;}
.connect_box .box{ width:100%; border-bottom:1px solid #efefef; padding:20px 0; float:left;}  
.connect_box .box .img{ width:50px; height:50px; margin:0 10px 0 10px; float:left;}
.connect_box .box .img_qq{  background:url(<?php echo $this->_tpl_vars['__PUBLIC__']; ?>
images/connect/conn.png) 300px 0;  }
.connect_box .box .img_weibo{ background:url(<?php echo $this->_tpl_vars['__PUBLIC__']; ?>
images/connect/conn.png) 150px 0; }
.connect_box .box .img_wchat{ background:url(<?php echo $this->_tpl_vars['__PUBLIC__']; ?>
images/connect/conn.png) 0 0; }
.connect_box .box .img_taobao{ background:url(<?php echo $this->_tpl_vars['__PUBLIC__']; ?>
images/connect/conn.png) 200 0; }
.connect_box .box .img_alipay{ background:url(<?php echo $this->_tpl_vars['__PUBLIC__']; ?>
images/connect/conn.png) 50px 0; }
.connect_box .box .desc{ padding:13px 0 10px 20px; font-size:14px; color:#888; float:left; }
.connect_box .box a{ border:1px solid #ddd; background:#f8f8f8; margin:8px 30px 0 0; border-radius:2px; padding:5px 15px; color:#333; float:right;}
.connect_box .box a.bd{ background:#5CC7EE; border:1px solid #5CC7EE; color:#FFFFFF; } 
 
</style>
<div class="tab"><a class="ch">账号绑定</a></div>
<div class="lbox">
	<div class="connect_box">
	<?php echo $this->_plugins['function']['uqcms'][0][0]->load_module(array('m' => 'api','v' => 'conn','c' => "login_list:user_status=1"), $this);?>
 
	<?php if ($this->_tpl_vars['conn']): ?>
		<?php $_from = $this->_tpl_vars['conn']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['i']):
?> 
			<div class="box">
				<div class="img img_<?php echo $this->_tpl_vars['i']['alias']; ?>
">&nbsp;</div>
				<div class="desc"><?php echo $this->_tpl_vars['i']['content']; ?>
</div>
				<?php if ($this->_tpl_vars['i']['bind_status']): ?>
					 <a href="member.php?m=user&a=connect_cancel&conn=<?php echo $this->_tpl_vars['i']['alias']; ?>
" class="wbd">取消绑定</a> 
				<?php else: ?>
					 <a href="member.php?a=connect&alias=<?php echo $this->_tpl_vars['i']['alias']; ?>
&state=<?php echo smarty_function_math(array('equation' => "rand(0,10000)"), $this);?>
" class="bd">立即绑定</a> 
				<?php endif; ?>	 
			</div>
		<?php endforeach; endif; unset($_from); ?> 
	<?php endif; ?> 
	</div>
</div>	 
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "index/footer.html", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>